﻿@model MvcSiteMapProvider.Web.Html.Models.SiteMapNodeModelList
@using System.Web.Mvc.Html
@using MvcSiteMapProvider.Web.Html.Models
@foreach (var n in Model)
{
    <div class="subnav">
        <div class="subnav-title">
            <a class='toggle-subnav'><i class="icon-chevron-down" style="border: 0px solid red;
                margin: 3px;"></i><span>@n.Title</span></a>
        </div>
        @Html.DisplayFor(m => n)
        @*        <ul class="subnav-menu">
            <li><a href="#">用户管理</a></li>
            <li><a href="#">角色管理</a></li>
            <li><a href="#">部门管理</a></li>
            <li><a href="#">功能管理</a></li>
            <li><a href="#">字典管理</a></li>
        </ul>*@
    </div>

}
@*<ul class="subnav-menu">
    @foreach (var node in Model)
    {
        if (!node.MetaAttributes.ContainsKey("module") || node.MetaAttributes["module"] == "cms")
        {
        <li>
            @Html.DisplayFor(m => node)
            @if (node.Children.Any())
            {
                @Html.DisplayFor(m => node.Children)
            }
        </li>
        }
    }
</ul>
*@